﻿using System;
using System.Collections.Generic;
using System.Net;
using System.Security.Cryptography.X509Certificates;
using System.Text;

namespace MolyMade.Moly.HttpRequest.DataTypes
{
    public class Request
    {
        public IPEndPoint IpEndPoint { get; set; }
        public Encoding PostDataEncoding { get; set; }
        public string Url { get; set; }
        public IDictionary<string, string> Parameters { get; set; }
        public DecompressionMethods DecompressionMethods { get; set; }
        public string CerPath { get; set; }
        public string CerPwd { get; set; }
        public X509CertificateCollection X509CertificateCollection { get; set; }
        public Headers Headers { get; set; }
        public string Proxy { get; set; }
        public string ProxyUserName { get; set; }
        public string ProxyPassword { get; set; }
        public Version ProtoVersion { get; set; }
        public bool Expect100Continue { get; set; }
        public string HttpMethod { get; set; }
        public int ConnectionTimeout { get; set; }
        public int ReadWriteTimeout { get; set; }
        public ICredentials Credentials { get; set; }
        public CookieCollection Cookies { get; set; }
        public bool AllowAutoRedirect { get; set; }
        public int MaxAutoRedirection { get; set; }
        public int MaxConnection { get; set; }
        public byte[] PostBuffer { get; set; }
        public HttpWebRequest HttpWebRequest { get; set; }
    }
}
